from django.apps import AppConfig


class DoubansConfig(AppConfig):
    default_auto_field = "django.db.models.BigAutoField"
    name = "doubans"

# from django_celery_beat.models import PeriodicTask, CrontabSchedule
# schedule, _ = CrontabSchedule.objects.get_or_create(
#     minute='0', hour='8', day_of_week='mon-fri'
# )
# PeriodicTask.objects.create(
#     crontab=schedule,
#     name='Daily Morning Email',
#     task='myapp.tasks.send_daily_report',
# )